<template>
  <div>
    <div class="box">
      <!-- 头部 -->
      <div>
        <van-nav-bar>
          <template #left>
            <h1 @click="$router.back()">
              <van-icon name="arrow-left" />
            </h1>
          </template>
          <template #title>
            <div class="qb">
              <p>司机招募</p>
            </div>
          </template>
          <template #right></template>
        </van-nav-bar>
      </div>
      <!-- 内容 -->
      <div class="mian">
        <!-- 图片 -->
        <div class="top">
          <img src="@/assets/hhh.jpg" alt srcset />
        </div>
        <div class="cont">
          <span class="span_1">加入快上车司机</span>
          <span class="span_2">平台海量订单，快来申请加入吧</span>
        </div>
      </div>
      <div class="conten">
        <p class="p1">
          身边超过
          <span>127</span> 代驾订单
        </p>
        <p class="p2">点击按钮申请司机抢单赚钱吧</p>
      </div>
    </div>
    <div class="but">
      <button
        class="button type3"
        @click="btn"
        style="color: plum; font-weight: bold; font-family: cursive"
      >点击继续</button>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    btn() {
      this.$router.push("/shenqing");
    }
  }
};
</script>

<style scoped>
* {
  margin: 0;
  padding: 0;
}
.div_1 {
  color: orange;
  font-size: 14px;
}
.qb {
  letter-spacing: 2px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}
.top img {
  width: 100%;
  height: 220px;
}
.cont {
  width: 90%;
  height: 100px;
  margin: 40px auto 0;
  box-shadow: 2px 2px 2px 2px #ccc;
}
.cont span {
  margin-left: 15px;
  font-family: cursive;
  display: block;
}
.span_1 {
  font-size: 20px;
  height: 50px;
  line-height: 60px;
  font-weight: bold;
}
.conten {
  width: 90%;
  height: 100px;
  text-align: center;
  margin: 30px auto 0;
}
.p1 {
  width: 100%;
  text-align: center;
  font-size: 23px;
  font-family: cursive;
}
.p1 span {
  color: plum;
  font-size: 20px;
}
.p2 {
  margin-top: 3px;
  font-family: cursive;
  font-size: 18px;
}
.but {
  width: 180px;
  margin: 0 auto;
}
/* 按钮 */
.button {
  position: relative;
  padding: 1em 1.5em;
  border: none;
  background-color: transparent;
  cursor: pointer;
  outline: none;
  font-size: 18px;
  margin: 1em 0.8em;
}
.button.type1 {
  color: #566473;
}
.button.type1.type1::after,
.button.type1.type1::before {
  content: "";
  display: block;
  position: absolute;
  width: 20%;
  height: 20%;
  border: 2px solid;
  transition: all 0.6s ease;
  border-radius: 2px;
}
.button.type3 {
  color: #435a6b;
}
.button.type3.type3::after,
.button.type3.type3::before {
  content: "";
  display: block;
  position: absolute;
  width: 20%;
  height: 20%;
  border: 2px solid;
  transition: all 0.6s ease;
  border-radius: 2px;
}
.button.type3.type3::after {
  bottom: 0;
  right: 0;
  border-top-color: transparent;
  border-left-color: transparent;
  border-bottom-color: #435a6b;
  border-right-color: #435a6b;
}
.button.type3.type3::before {
  top: 0;
  left: 0;
  border-bottom-color: transparent;
  border-right-color: transparent;
  border-top-color: #435a6b;
  border-left-color: #435a6b;
}
.button.type3.type3:hover:after,
.button.type3.type3:hover:before {
  border-bottom-color: #435a6b;
  border-right-color: #435a6b;
  border-top-color: #435a6b;
  border-left-color: #435a6b;
  width: 100%;
  height: 100%;
}
</style>